package io.renren.modules.car.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.car.dao.User1Dao;
import io.renren.modules.car.entity.User1Entity;
import io.renren.modules.car.service.User1Service;


@Service("user1Service")
public class User1ServiceImpl extends ServiceImpl<User1Dao, User1Entity> implements User1Service {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<User1Entity> page = this.page(
                new Query<User1Entity>().getPage(params),
                new QueryWrapper<User1Entity>()
        );

        return new PageUtils(page);
    }

}